package com.government.common.core.domain;


import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
public class BaseTreeVo<T extends BaseTreeVo> implements Serializable {

    private static final long serialVersionUID = -847562791031909956L;

    /**
     * 当前节点代码
     */
    private String id;

    /** 节点值 */
    private Long value;

    /** 节点名称 */
    private String label;

    /**
     * 子节点集合
     */
    private List<T> children;
}